str1 = ""
str2 = "hello world"
print(bool(str1))
print(bool(str2))
print("=============================")

a = 10
b = 20
c = 10
print(bool(a == b))
print(bool(a == c))
print("===========")
print(bool(a != b))
print(bool(a > b))
print(bool(a < b))
print(bool(a >= b))
print(bool(a <= b))

print("==============闰年的判断=============")
year = int(input("请输入年份"))
if ((year %4 == 0) and (year %100 != 0)) or (year %400 == 0):
    print(f"{year}年是闰年")
else:
    print(f"{year}年份不是闰年")



